package com.ndp.fb.walle.business;


import com.ndp.fb.exception.BusinessException;
import com.ndp.fb.rdb.model.TargetingSpecTemplate;
import com.ndp.fb.walle.model.vo.targetingspectemplate.param.TargetingSpecTemplateParam;

import java.util.List;

/**
 * TargetingSpecTemplate 业务接口
 *
 * @author Administrator
 */
public interface TargetingSpecTemplateService {


    /**
     * 根据单位和应用id查找
     * @param orgId
     * @param fbConnectionObjectId
     * @return
     * @throws BusinessException
     */
    List<TargetingSpecTemplate> findAllTargetingSpecTemplates(Long orgId, Long fbConnectionObjectId, Long productConfigurationId) throws BusinessException;

    Long createTargetingSpecTemplate(TargetingSpecTemplateParam targetingSpecTemplate) throws BusinessException;
}
